package com.edu.chat.web.controller.vo;

import jakarta.validation.constraints.NotBlank;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @program: KQAIA
 * @description:
 * @author: 无恙
 * @create: 2025-04-10 23:15
 **/

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class QueryMsgVO {

	//会话id
	@NotBlank
	private String sessionId;

	//当前消息游标ID
	private Long courserId;

	//每次加载消息条数
	private Integer batchSize = 10;

	//滚动方向, front:向前滚动,back:向后滚动
	private String direction = "back";

	private String tenantId;

}
